-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add merge/unmerge loads feature. #131
Conversation
IIDM files used in tests have been updated as well. Signed-off-by: BAUDRIER Dimitri <dimitri.baudrier@rte-france.com>
There's a control on the network ID. A DynawoResultsMergeLoads is associated to a unique network via its ID. Signed-off-by: BAUDRIER Dimitri <dimitri.baudrier@rte-france.com>
By default, the property mergeLoads is true. Signed-off-by: BAUDRIER Dimitri <dimitri.baudrier@rte-france.com>
d5c8c8f
to
167abde
Compare
27a5773
to
d75b991
Compare
Updated test resources, to compare results when the property mergeLoads is true Signed-off-by: BAUDRIER Dimitri <dimitri.baudrier@rte-france.com>
Signed-off-by: BAUDRIER Dimitri <dimitri.baudrier@rte-france.com>
@@ -177,6 +218,28 @@ public void testUpdate() throws Exception { | |||
compare(expectedNetwork, network); | |||
} | |||
|
|||
@Test | |||
public void testUpdateWithMergeLoads() throws Exception { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering.
I created this test, but is it really necessary to compare the network unmerged with the resource SmallBusBranch_outputIIDM.xml
?
Since there are tests associated to the methods merge/unmerge (DynawoResultsMergeLoadsTest), and they are supposed to guarantee it works, then it should not be necessary to reconfirm the unmerge is successful when reading the network transformed into a xiidm file. I might be wrong.
Signed-off-by: BAUDRIER Dimitri <dimitri.baudrier@rte-france.com>
ce77215
to
2db79ce
Compare
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Kudos, SonarCloud Quality Gate passed! |
Please check if the PR fulfills these requirements (please use
'[x]'
to check the checkboxes, or submit the PR and then click the checkboxes)Does this PR already have an issue describing the problem ? If so, link to this issue using
'#XXX'
and skip the restfixes #122
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Proposal on how to merge/unmerge bunch of loads on a same bus in a network.